package org.happen.android.ui;

import org.happen.android.R;
import org.happen.android.base.AppActivity;
import org.liushui.mycommons.android.annotation.ViewInject;
import org.liushui.mycommons.android.annotation.helper.InjectHelper;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class StartActivity extends AppActivity
{

	@ViewInject(R.id.logo)
	View logo;

	protected void onCreate(Bundle savedInstanceState)
	{
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_start);

		InjectHelper.init(this, this);

		logo.postDelayed(new Runnable() {
			public void run()
			{
				Intent it = new Intent(context, MainActivity.class);
				startActivity(it);
				finish();
			}
		}, 2000);
	}
}